package com.njtoyo.taxi.admin.rest.wrapper.data.data_analysis;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Objects;

@EqualsAndHashCode(callSuper = true)
@Data
public class DriverDataWrapper extends Page<DriverDataWrapper> {

    public DriverDataWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    private Long cantonId;
    private Long companyId;
    private String startDate;
    private String endDate;
    private Boolean isLeave;

    private List<Long> cantonIds;
    private List<Long> companyIds;
    private List<Long> driverIds;

    private String driverName;

    private String plateNumber;
}
